package com.example.mapper;

import com.example.entity.Download;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DownloadMapper {

    int insert(Download download);

    void updateById(Download download);

    void deleteById(Integer id);

    @Select("select * from `download` where id = #{id}")
    Download selectById(Integer id);

    List<Download> selectAll(Download download);
    
}
